package top.ninwoo.utils.service;

import java.util.Set;

/**
 * @author joliu
 * @date 2019-10-16
 */
public interface OvsDockerService {
    String addPort(String bridgeName, String devName, String containerId, String ip);

    boolean delPort(String bridgeName, String devName, String containerId);

    Set<String> getContainerPorts(String containerId);

    void deleteContainerPorts(String containerId);
}